package com.github.zy.rpc.service.handler;

import com.github.zy.rpc.session.Session;

/**
 * @version 1.0 created by zy on 2020/4/29 15:58
 */
public interface ServerSendTemplate {

    <T> T sendToClient(Session session, String urlMapping, Object msg, Class clazz);

    <T> T sendToClient(String ip, int port, String urlMapping, Object msg, Class clazz);
}
